package com.xiaoyu.awakening.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoyu.awakening.user.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * UserDao
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {
    @Select("select * from t_user where name=#{username}")
    UserEntity getUserByUserName(String username);
}
